
exports.ErrorTimout = (req, res) => {
  setTimeout(function () {
    res.status(200).send({
      message: "404 Not found"
    });
  }, 10000);
};

exports.success = (req, res) => {
  res.status(200).send({
    message: "welcome"
  });
};

exports.Error404 = (req, res) => {
  res.status(404).send({
    message: "404 Not found"
  });
};

exports.Error500 = (req, res) => {
  res.status(500).send({
    message: "Some error occurred."
  });
};
